<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="e" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>O-NICK </title>
        <style type="text/css">
            @import url("layout.css");
            @import url("forms.css");
        </style>
    </head>
    <body>
        <div id="wrap">
            <div id="topbar">
                <ul>
                    <li><a href="account?page=home">Home</a></li>
                    <li><a href="account?page=register">Register</a></li>

                </ul>
            </div>
            <div id="header">
                <div id="sitename">
                    <h1 id="logo">O-NICK</h1>
                </div>
                <div id="shoutout"><img src="../images1/joinnow_shoutout.jpg" alt="Join Now! It's Free" width="168" height="126" /></div>
                <div id="useractions">
                    <div id="headings">
                        <h2><img src="../images1/create_indi_usr.jpg" alt="Individual User" width="25" height="22" /> <a href="#">Create PROMOTOR Account</a></h2>
                    </div>
                    <div id="login">
                        <p><strong>Login here...</strong> ${error}</p>
                        <div id="loginform">
                            <form method="post" action="account?page=loggedin">
                                <div class="formblock">
                                    <label>Username</label>
                                    <input name="username" id="username" type="text" value="${tempLog.username}" class="textfields" />
                                </div>
                                <div class="formblock">
                                    <label>Password</label>
                                    <input name="password" id="password" type="password" class="textfields"/>
                                </div>
                                <div class="formblock">
                                    <input href ="account?page=loggedin" type="image" src="images1/loginbutton.jpg" name="button" id="button" value="Submit" />
                                </div>
                                <div class="clear">&nbsp;</div>
                                <p>
                                    <input name="" type="checkbox" value="" />
                                    Remember me on this computer </p>
                            </form>
                        </div>

                    </div>
                </div>
            </div>

            <div id="topcategorieslink" class="clear">
                <h2>Event</h2>
                <li>${show}</li>
            </div>
            <div class="clear">&nbsp;</div>
            <div id="main">
                <h1></h1>
                <ul class="listing">
                    <e:forEach items="${events}" var="ev">

                        <li>
                            <div class="listinfo">
                                <img src="${ev.gambar}" height="50" width="50" />
                                <h3>${ev.namaEvent}</h3>
                                <span class="price">${ev.hargaTiket}</span>
                                <h4>${ev.deskripsi}</h4>
                            </div>
                            <div class="listingbtns">
                                <span class="listbuttons">
                                    <a href="event?page=show&&idEvent=${ev.idEvent}">View Details</a></span><span class="listbuttons">
                                    <a href="account?page=profile_public&&idUser=${ev.idUser.idUser}">Promotor </a></span></div>
                            <div class="clear">&nbsp;</div>
                        </li>
                    </e:forEach>
                </ul>

            </div>


            <div id="sidebar">
                <div class="block advert"></div>
                <div class="menulist block">
                    <h2 class="sidebar_head">Find More Events</h2>
                    <ul class="normalmenu">
                        <form method="POST" action="event?page=searched" onsubmit="index.jsp">
                            <input type="text" name="namaEvent" />
                            <input type="Submit" value="Cari" />
                        </form>
                    </ul>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
                </div>

                <div class="block"></div>
                <div class="block"></div>
            </div>
            <div class="clear">&nbsp;</div>
        </div>
        </body>

</html>

